﻿namespace Minecraft.Model.AchievementItem
{
	/// <summary>
	/// 
	/// </summary>
	public class ModAchievementStatisInfo
	{
		/// <summary>
		/// 
		/// </summary>
		public ModAchievementStatisInfo()
		{
			AchievementId = 0;
			Level = 0;
			LastId = 0;
			Description = "";
			ConditionType = EnumAchievementConditionType.None;
			ConditionNum = 0;
			ConditionId = 0;
			Award = "";
		}

		/// <summary>
		/// 成就id
		/// </summary>
		public int AchievementId;

		/// <summary>
		/// 成就显示的级别要求(下限)
		/// </summary>
		public int Level;
		/// <summary>
		/// 前置成就id
		/// </summary>
		public int LastId;
		/// <summary>
		/// 成就描述
		/// </summary>
		public string Description;
		/// <summary>
		/// 成就类型。
		/// 如
		/// 1是玩家达成一定等级
		/// 2是解锁一定数量的蓝图
		/// 以此类推。
		/// </summary>
		public EnumAchievementConditionType ConditionType;
		/// <summary>
		/// 达成成就需要的等级、蓝图、抵御尸潮次数等数目下限
		/// </summary>
		public int ConditionNum;

		/// <summary>
		/// 达成条件里有特定id时，此字段就是蓝图、怪物等的id
		/// </summary>
		public int ConditionId;

		/// <summary>
		/// 成就奖品
		/// </summary>
		public string Award;
	}
}
